package com.anda.logistics.dao;

import java.util.List;

import com.anda.logistics.model.FreightSource;
import com.anda.logistics.model.FreightSourceHis;
import com.anda.logistics.util.JQGridPager;
import com.anda.logistics.util.QueryFilter;
import com.anda.logistics.vo.JsonReturnVo;

public interface FreightSourceDao {

	public void save(FreightSource freightSource);

	public List getFreightCountByProvince();


	public void deleteOne(long id);

	public void update(FreightSource freightSource);

	public long getPagedRecords(JQGridPager pager, String freightState);

	public List<FreightSource> getPagerList(JQGridPager pager,
			String freightState);

	public FreightSource getOneById(long freightId);

	public void updateState(FreightSource freightSource , int state);
	public List<FreightSource> getListByQuery(String [] cols, String[] vals, String ids);

	public void save(FreightSourceHis h);

	public void delete(FreightSource entity);

	public JsonReturnVo getListByQuery(QueryFilter qf);
}
